home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr35 / dispwhen.zip / DISPWHEN.DOC next >
Text File  |  1993-04-03  |  2KB  |  47 lines

  1.                              DISPWHEN V 1 . 0
  2.                              ----------------
  3.  
  4. This .PPE checks day, time & security level and displays a file if applicable.
  5. Usage:
  6.  
  7. !DispWhen.PPE LowSec;HighSec;StartTime;EndTime;Days;DisplayFile
  8.  
  9. Where:
  10.      LowSec is the lowest level to display the file to
  11.     HighSec is the highest level to display the file to
  12.   StartTime is the Earliest time to display the file
  13.     EndTime is the latest time to display the file
  14.        Days is the day flags to display the file SMTWTFS (Y or N for each)
  15. DisplayFile is the file to be displayed
  16.  
  17. Example:
  18.  
  19. !DispWhen.PPE 10;80;06:00;08:00;NYYYYYN;C:\PCB\GEN\NoWay
  20.  
  21. The file C:\PCB\GEN\NoWay will be displayed to any caller with a security
  22. level between 10 and 80 (inclusive) between the hours 6am to 8am on a
  23. weekday (M-F).
  24.  
  25. DispWhen will properly Handle time ranges where the EndTime falls before the
  26.   StartTime.  ie.
  27.  
  28. !DispWhen.PPE 10;80;23:00;01:00;;C:\PCB\GEN\NoWay
  29.  
  30. Also, Days maybe left blank (as above example) and YYYYYYY will be assumed.
  31.   (Y will be assumed for any days not specified ie NN becomes NNYYYYY)
  32.  
  33. The above examples assume you are placing this PPE file in the PCBOARD.DAT
  34. directory for each node. Since that is not the best way to do things, make
  35. sure you specify the full path (unless a default is added to PCBSetup in
  36. the future). ie.
  37.  
  38. !C:\PCB\PPE\DispWhen.PPE 10;80;23:00;01:00;;C:\PCB\GEN\NoWay
  39.  
  40. You can use this PPE in any display file and it was written to allow you
  41. to tailor it's use with the command line arguments so modification and
  42. recompiling the source code should not be needed, but it is included here
  43. for study by those who want to write their own or those who desire to add
  44. some other feature.
  45.  
  46. Gary Meeker: SYSOP: SHARP Technical Support Line BBS (404) 962-1788
  47.